package drds.binlog.common.position;

import drds.binlog.common.Authors;
import drds.common.Author;
import lombok.Getter;
import lombok.Setter;

/**
 * 基于时间的位置，position数据不唯一
 */
@Author(name = Authors.LI_YANG)
public class TimePosition extends Position
{

    @Setter
    @Getter
    protected Long timestamp;

    public TimePosition(Long timestamp)
    {
        this.timestamp = timestamp;
    }


}
